From 78d2beff2c75f8b9764576713b77c8d695cd38cd Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Tue, 27 Jun 2006 11:17:14 +0100 Subject: [PATCH] [HVM][SVM] move printk pin msg under an "if svm_dbg_on" conditional to alleviate excessive printing of messages when vcpu pinned to new core. Signed-off-by: Tom Woller --- xen/arch/x86/hvm/svm/svm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xen/arch/x86/hvm/svm/svm.c b/xen/arch/x86/hvm/svm/svm.c index 8d7f6e3ed8..ca46cdb778 100644 --- a/xen/arch/x86/hvm/svm/svm.c +++ b/xen/arch/x86/hvm/svm/svm.c @@ -813,7 +813,8 @@ void arch_svm_do_resume(struct vcpu *v) reset_stack_and_jump( svm_asm_do_resume ); } else { - printk("VCPU core pinned: %d to %d\n", + if (svm_dbg_on) + printk("VCPU core pinned: %d to %d\n", v->arch.hvm_svm.launch_core, smp_processor_id() ); v->arch.hvm_svm.launch_core = smp_processor_id(); svm_migrate_timers( v ); -- 2.30.2